local extension = Package:new("hanqing_1")
extension.extensionName = "hanqing"

extension:loadSkillSkelsByPath("./packages/hanqing/pkg/hanqing1/skills")

Fk:loadTranslationTable{
  ["hanqing"] = "汗青",
  ["hanqing_1"] = "喋血长平",
  ["qi"] = "齐",
  ["chu"] = "楚",
  ["yan"] = "燕",
  ["zhao"] = "赵",
  ["ghan"] = "韩",
  ["zhou"] = "周",
}

Fk:appendKingdomMap("god", {"qi", "chu", "qin", "yan", "zhao", "ghan", "zhou"})

local wanghe = General:new(extension, "wanghe", "qin", 4)
wanghe:addSkills { "hanqing__lianxi" }
wanghe.endnote = "<br><font color='grey' size = 2>“攻三月，斩赵茄，取六尉，夺坚垒。”"
Fk:loadTranslationTable{
  ["wanghe"] = "王龁",
  ["#wanghe"] = "秦锋",
  ["illustrator:wanghe"] = "特异型安妮",
  ["designer:wanghe"] = "苍淇",
  ["cv:wanghe"] = "幽蝶化烬",

  ["!wanghe"] = "好头颅、四十万，因之可登咸阳宫！",
  ["~wanghe"] = "一败于赵，再败于魏，此行当以死报。",
}

General:new(extension, "hanqing__baiqi", "qin", 4):addSkills { "hanqing__qijie", "hanqing__huiguo" }
Fk:loadTranslationTable{
  ["hanqing__baiqi"] = "白起",
  ["#hanqing__baiqi"] = "血铸国命",
  ["illustrator:hanqing__baiqi"] = "特异型安妮",
  ["designer:hanqing__baiqi"] = "头发好借好还",
}

local fanju = General:new(extension, "fanju", "qin", 3)
fanju:addSkills { "hanqing__yazi", "hanqing__qingwei" }
fanju:addRelatedSkills { "hanqing__enyuan" }
Fk:loadTranslationTable{
  ["fanju"] = "范雎",
  ["#fanju"] = "谋倾九州",
  ["illustrator:fanju"] = "梦想君",
  ["designer:fanju"] = "苍淇",
  ["cv:fanju"] = "妙啊",

  ["!fanju"] = "亲中国以为天下枢，威楚赵而虏韩魏。",
  ["~fanju"] = "主忧臣辱，主辱臣死，敢请其罪。",
}

General:new(extension, "yingji", "qin", 4):addSkills { "hanqing__yuanfa", "hanqing__tunshi", "hanqing__jueshi" }
Fk:loadTranslationTable{
  ["yingji"] = "嬴稷",
  ["#yingji"] = "东出的霸主",
  ["illustrator:yingji"] = "有硬币有果",
  ["designer:yingji"] = "黑寡妇无敌",
}

local lianpo = General:new(extension, "lianpoz", "zhao", 4)
lianpo:addSkills { "hanqing__zhulei", "hanqing__beishi" }
lianpo.endnote = "<br><font color='grey' size = 2>“老成名将说廉颇，遗矢谗言奈若何？”——冯梦龙"
Fk:loadTranslationTable{
  ["lianpoz"] = "廉颇",
  ["#lianpoz"] = "君心难守",
  ["illustrator:lianpoz"] = "有硬币有果",
  ["designer:lianpoz"] = "头发好借好还",
}

local zhaokuo = General:new(extension, "zhaokuo", "zhao", 5)
zhaokuo:addSkills { "hanqing__kongtan" }
zhaokuo.endnote = "<br><font color='grey' size = 2>“家父谋略，吾已习得八九。”"
Fk:loadTranslationTable{
  ["zhaokuo"] = "赵括",
  ["#zhaokuo"] = "纸上谈兵",
  ["illustrator:zhaokuo"] = "有硬币有果",
  ["designer:zhaokuo"] = "苍淇",
  ["cv:zhaokuo"] = "超绝天",

  ["~zhaokuo"] = "秦人多诈，廉颇老懦，朝中何人御敌？",
  ["!zhaokuo"] = "父亲遗命，岂敢不从？奈朝中无如括者。",
}

General:new(extension, "linxiangru", "zhao", 3):addSkills { "hanqing__hejiang", "hanqing__guibi" }
Fk:loadTranslationTable{
  ["linxiangru"] = "蔺相如",
  ["#linxiangru"] = "智挟虎狼",
  ["illustrator:linxiangru"] = "有硬币有果",
  ["designer:linxiangru"] = "苍淇",
}

local weapon__hejiang = fk.CreateCard{
  name = "&weapon__hanqing__hejiang",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeWeapon,
}
extension:loadCardSkels{weapon__hejiang}
extension:addCardSpec("weapon__hanqing__hejiang")

local armor__hejiang = fk.CreateCard{
  name = "&armor__hanqing__hejiang",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeArmor,
}
extension:loadCardSkels{armor__hejiang}
extension:addCardSpec("armor__hanqing__hejiang")

local offensive_horse__hejiang = fk.CreateCard{
  name = "&offensive_horse__hanqing__hejiang",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeOffensiveRide,
}
extension:loadCardSkels{offensive_horse__hejiang}
extension:addCardSpec("offensive_horse__hanqing__hejiang")

local defensive_horse__hejiang = fk.CreateCard{
  name = "&defensive_horse__hanqing__hejiang",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeDefensiveRide,
}
extension:loadCardSkels{defensive_horse__hejiang}
extension:addCardSpec("defensive_horse__hanqing__hejiang")

local treasure__hejiang = fk.CreateCard{
  name = "&treasure__hanqing__hejiang",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeTreasure,
}
extension:loadCardSkels{treasure__hejiang}
extension:addCardSpec("treasure__hanqing__hejiang")
Fk:loadTranslationTable{
  ["weapon__hanqing__hejiang"] = "和将",
  ["armor__hanqing__hejiang"] = "和将",
  ["offensive_horse__hanqing__hejiang"] = "和将",
  ["defensive_horse__hanqing__hejiang"] = "和将",
  ["treasure__hanqing__hejiang"] = "和将",
}

General:new(extension, "zhaodan", "zhao", 3):addSkills { "hanqing__zeshuai", "hanqing__zhuimeng", "hanqing__xiaocheng" }
Fk:loadTranslationTable{
  ["zhaodan"] = "赵丹",
  ["#zhaodan"] = "无断的坠龙",
  ["illustrator:zhaodan"] = "黄球球",
  ["designer:zhaodan"] = "头发好借好还",
}

local if_zhaokuo = General:new(extension, "if__zhaokuo", "zhao", 4)
if_zhaokuo:addSkills { "hanqing__pishi", "hanqing__xiwei" }
if_zhaokuo:addRelatedSkills { "hanqing__yiqi" }
if_zhaokuo.endnote = "<br><font color='grey' size = 2>“少年轻锐喜谈兵，父学皆传术亦精。”"
Fk:loadTranslationTable{
  ["if__zhaokuo"] = "赵括",
  ["#if__zhaokuo"] = "逆转长平",
  ["illustrator:if__zhaokuo"] = "黑羽c",
  ["designer:if__zhaokuo"] = "头发好借好还",

  ["~if__zhaokuo"] = "若再来一局……我不会输……",
}

local godlianpo = General:new(extension, "godlianpoz", "god", 3, 5)
godlianpo:addSkills { "hanqing__fengrang", "hanqing__shuangjue" }
godlianpo.endnote = "<br><font color='grey' size = 2>“冰荒废土的战士们，起来吧！”"
Fk:loadTranslationTable{
  ["godlianpoz"] = "神廉颇",
  ["#godlianpoz"] = "终啸寒风",
  ["illustrator:godlianpoz"] = "虫洞&硬币",
  ["designer:godlianpoz"] = "头发好借好还",
}

local godbaiqi = General:new(extension, "godbaiqi", "god", 5)
godbaiqi:addSkills { "hanqing__tuqian", "hanqing__liaofan" }
godbaiqi.endnote = "<br><font color='grey' size = 2>“提剑跨骑挥鬼雨，白骨如山鸟惊飞。”"
Fk:loadTranslationTable{
  ["godbaiqi"] = "神白起",
  ["#godbaiqi"] = "人屠",
  ["illustrator:godbaiqi"] = "明天不睡觉",
  ["designer:godbaiqi"] = "楚萱",
}

return extension
